<template>
  <demoBlock title="基础用法" padding >
    <vcu-slider v-model="value" @change="onChange" />
  </demoBlock>
</template>


<script>
import { defineComponent, ref } from "vue";

export default defineComponent({
  setup() {
    const value = ref(50);
    const onChange = (value) => console.info('当前值：' + value);
    return {
      value,
      onChange,
    };
  },
});
</script>